Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

106
Views
using EnterpriceConnection.query returns in a "NoSuchClassException"

I'm trying to retrieve some info from Salesforce in my app. After I log in I've got a

EnterpriseConnection connection

Object. When I call

connection.describeSObject("Project__c")

then I got the result. The problem is when I try to do

connection.query("Select id from Project__C")

then I got

 java.lang.ClassNotFoundException: com.sforce.soap.enterprise.sobject.Project__c

What am I missing?

In my pom.xml I've added

 <artifactId>cxf-common-utilities</artifactId>
            <version>2.5.11</version>
<artifactId>cxf-tools-common</artifactId>
            <version>3.5.0</version>
<artifactId>cxf-rt-frontend-simple</artifactId>
            <version>3.5.0</version>
<artifactId>cxf-rt-transports-http</artifactId>
            <version>3.5.0</version>
 <artifactId>cxf-rt-frontend-jaxws</artifactId>
            <version>3.5.0</version>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!